


#ifndef _IO_CHECK_HANDLE_H_
#define _IO_CHECK_HANDLE_H_


#include "stdint.h"

#define CHARGE_CHECK_HOLD_TIME     100
#define CHARGE_CLEAR_HOLD_TIME     100

#define LIMIT_CHECK_HOLD_TIME      500
#define LIMIT_CLEAR_HOLD_TIME      100


typedef struct
{
	uint16_t check_cnt;
	uint16_t hold_cnt;
	
	uint16_t check_holdtime;
	uint16_t clear_holdtime;
	
	uint8_t input_real;
	uint8_t input_rslt;

}STR_IO_CHECK_HDL;

extern void key_check_init(void);
extern void key_status_check(void);


#endif


